
 import axios from '../axios'
//获取当前登录菜单
 export const getMeunGroup = () => {
   return axios.get(`/admin/getMeunGroup`)
 }
 
//获取全部菜单 1级
 export const menuGroupAll = () => {
   return axios.get(`/menu/menuGroupAll`)
 }
 
 export const insert = (data:any) => {
   return axios.post(`/menu/insert`,data)
 }
 export const deleteById = (id:any) => {
   return axios.delete(`/menu/deleteById/${id}`)
 }
 export const updateById = (data:any) => {
   return axios.post(`/menu/updateById`,data)
 }
